package com.weiqk.pmdemo.service;

import com.weiqk.pmdemo.dto.PurchaseInDto;
import com.weiqk.pmdemo.dto.PurchaseLinkDto;
import com.weiqk.pmdemo.dto.PurchaseLinkInDto;
import com.weiqk.pmdemo.pojo.Purchase;
import com.weiqk.pmdemo.pojo.PurchaseLink;

import java.util.List;

public interface PurchaseLinkService {
    List<PurchaseLinkDto> findAll();
    Boolean deleteById(int id);
    Boolean update(PurchaseLinkInDto purchaseLinkInDto);
    Boolean put(PurchaseLinkInDto purchaseLinkInDto);
    int countWithPurchaseId(int id);
}
